<template>
  <div>
    <h2>{{ message }}</h2>
  </div>
  <div>
    <test4 :info="message"></test4>
  </div>
  <button @click="message = 'Hello,world'">点击</button>
</template>

<script>
import test4 from "@/components/test4.vue";
export default {
  data() {
    return {
      message: 'hello'
    }
  },
  components: {
    test4
  }
}
</script>
<style scoped>

</style>